package com.lfk.justweengine.anim;

import com.lfk.justweengine.utils.script.Float2;
import org.junit.Assert;
import org.junit.Test;


public class CircleMoveAnimationOhosTest {

    @Test
    public void adjustPosition() {
        CircleMoveAnimation circleMoveAnimation = new CircleMoveAnimation(100,200,50, 300.20,400);
        Float2 float2 = circleMoveAnimation.adjustPosition(new Float2());
        float[] expecteds = new float[2];
        expecteds[0] = float2.x;
        expecteds[1] = float2.y;
        float[] actuals = new float[2];
        actuals[0] = (float)53;
        actuals[1] = (float)218;
        Assert.assertArrayEquals(expecteds, actuals, (float)2);
    }
}